home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
turbovis
/
ptg120co.zip
/
PTG_USER.DOC
< prev
next >
Wrap
Text File
|
1993-11-06
|
48KB
|
1,561 lines
▀▀▀▀▀ ▀ ▀▀▀▀▀
▀▀ ▀▀ ▀▄ ▀▀ ▀▀ ▀ ▀
▀▀▀▀▀▀ ▄▀ ▀▀▀ ▀▀▀▀ ▀▄▄▀ ▀ ▀ ▀
▀▀ ▀ ▀▀ ▀▀ ▀ ▀ ▀▀ 1.20
▀▀ ▀▀ ▀▀▀▀▀ ▀▀ ▀ ▀
(c) Copyright 1991, 1993 by Nederware, a dutch software company
User's Guide
written by Berend de Boer
DISCLAIMER
NEDERWARE PROVIDES THE SHAREWARE VERSION OF PTGEN "AS IS" AND
WITHOUT ANY WARRANTY. TO THE EXTENT PERMITTED UNDER APPLICABLE
LAW, NEDERWARE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTY OF MERCHAN-
TABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SPECIFICALLY,
NEDERWARE MAKES NO REPRESENTATION OR WARRANTY THAT THE SOFTWARE
IS FIT FOR ANY PARTICULAR PURPOSE.
NEDERWARE SHALL NOT BE LIABLE FOR ANY DAMAGES RESULTING FROM THE
USE OF THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO, LOSS OF
PROFIT, DATA OR USE OF THE SOFTWARE, OR SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES OR OTHER SIMILAR CLAIMS, EVEN IF NEDERWARE
HAS BEEN SPECIFICALLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
PtGen user manual - page i
TABLE OF CONTENTS
LICENSE . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . 1
Assumptions . . . . . . . . . . . . . . . . . . . . . . 1
About PtGen . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . 1
TVTool . . . . . . . . . . . . . . . . . . . . . . . . . 1
Acknowledgements . . . . . . . . . . . . . . . . . . . . 2
INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . 3
The READ.ME file . . . . . . . . . . . . . . . . . . . . 3
Installation on harddisk . . . . . . . . . . . . . . . . 4
Environment variables . . . . . . . . . . . . . . . . . 4
Installation under Tools menu of Borland IDE . . . . . . 4
PtGen DEVELOPMENT-CYCLE . . . . . . . . . . . . . . . . . . . 5
PtGen development-cycle . . . . . . . . . . . . . . . . 5
Ptgen single dialog box creating mode . . . . . . . . . 5
THE FILES CREATED BY PtGen . . . . . . . . . . . . . . . . . 7
The Source File . . . . . . . . . . . . . . . . . . . . 7
DEFINES.DEF . . . . . . . . . . . . . . . . . . . . . . 7
STRRESFS.TVR . . . . . . . . . . . . . . . . . . . . . . 7
STRINGS.TVR . . . . . . . . . . . . . . . . . . . . . . 8
STRINGS.INC . . . . . . . . . . . . . . . . . . . . . . 8
GENERAL OPERATION PRINCIPLES . . . . . . . . . . . . . . . . 9
Mouse operation . . . . . . . . . . . . . . . . . . . . 9
Keyboard operation . . . . . . . . . . . . . . . . . . . 9
SAMPLE APPS . . . . . . . . . . . . . . . . . . . . . . . . . 10
Creating a menubar and a statusline . . . . . . . . . . 10
Creating a dialog box . . . . . . . . . . . . . . . . . 13
CREATING AN EXECUTABLE . . . . . . . . . . . . . . . . . . . 17
A simple main . . . . . . . . . . . . . . . . . . . . . 17
A more advanced main . . . . . . . . . . . . . . . . . . 17
MORE ADVANCED TOPICS . . . . . . . . . . . . . . . . . . . . 19
Using string resource files . . . . . . . . . . . . . . 19
Adding units . . . . . . . . . . . . . . . . . . . . . . 19
Appendix A: Command line options . . . . . . . . . . . . . . 20
Appendix B: Environment variables . . . . . . . . . . . . . . 21
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
PtGen user manual - page ii
LICENSE
Copyright 1991, 1993 by Nederware. All rights reserved.
COMMERCIAL DISTRIBUTION PROHIBITED WITHOUT WRITTEN CONSENT FROM
THE AUTHOR.
This version of PtGen is NOT public domain or free software, but
is being distributed as "shareware" for EVALUATION PURPOSES ONLY.
1) You may copy and distribute copies of the PtGen source,
documentation, and executable code as you receive it, in any
medium, provided that you conspicuously and appropriately
publish on each copy a valid copyright notice "Copyright
1992 by Nederware"; keep intact the notices on all files
that refer to this License Agreement and to the absence of
any warranty; PROVIDE UNMODIFIED COPIES OF THE DOCUMENTATION
AS PROVIDED WITH THE PROGRAM; and give any other recipients
of the PtGen program a copy of this License Agreement along
with the program. You may charge a distribution fee for the
physical act of transferring a copy, but no more than is
necessary to recover your actual costs incurred in the
transfer. Under no circumstances is PtGen to be distributed
in such a way as to be construed as "value added" in a sales
transaction, such as, but not limited to, software bundled
with any other program without the prior written consent of
the author.
2) You may use PtGen for a 30-day evaluation period on a
private, non-commercial basis, for the express purpose of
determining whether PtGen is suitable for your needs. At the
end of this 30-day evaluation period, you must either
purchase a license from Nederware for continued use of
PtGen, or discontinue using PtGen. See REGISTRATION.FRM for
details about purchasing a license.
3) As a user with license you are entitled to FREE updates
until the next major version. Versions can be differentiated
by their version number. The version number of your copy of
PtGen is listed in the about dialog box of PtGen.
A next major version differs from the previous major version
by changing of the number before the point in the version
number. Say you have version 1.4. If you want to use PtGen
2.1 you have to buy a new license. Licensed users get 50%
reduction in the price of the major version they want to
use.
FREE updates is FREE of extra cost outside shipping and
handling, usually not more than $10.00. If you have
CompuServe access it is possible to upload new software to
you using CompuServe's binary file transfer function. The
total cost of this process is for the user. The cost of this
is estimated to be about $6.00.
PtGen user manual - page iii
4) If you use this software for private, personal, non-
commercial means only then you may purchase this product at
a chepar rate. Non-commercial is: you're not using this
software for any purpose that is linked with commercial or
non-personal leisure activities of any kind. Commercial or
non-personal leisure activities include activities related
to any of your jobs wherefore you receive money.
Conta